package com.vrms.app.dao;

import com.vrms.app.entity.Floor;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FloorDao {
    List<Floor> listPage(@Param("page")int page,
                          @Param("size")int size,
                          @Param("buildingNo")String buildingNo);

    int count(@Param("buildingNo") String buildingNo);

    int save(Floor floor);

    int remove(int id);

    List<Floor> list();
}
